<div id="archives" class="sub-block">
  <h3><?php echo __('Archives') ?></h3>
  <?php if (!empty($archives)): ?>
  <div class="sub-block-body">
  <ul>
  <?php foreach ($archives as $archive): ?>
    <li><?php echo link_to(__($archive['monthLabel']).' '.$archive['year'], '@newsByMonth?sf_culture='.$sf_user->getCulture().'&year='.$archive['year'].'&month='.$archive['month']) ?></li>
  <?php endforeach; ?>
  </ul>
  </div>
  <?php endif; ?>
</div>